package com.starmark.gateway.pt.provider.service;

import com.starmark.core.framework.base.BaseService;
import com.starmark.gateway.pt.provider.entity.PtInterfaceRequestField;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author starmark
 * @since 2020-05-25
 */
public interface IPtInterfaceRequestFieldService extends BaseService<PtInterfaceRequestField> {

    /**
     * 删除接口下的字段
     *
     * @param interfaceId 接口ID
     */
    void deleteItemsByInterfaceId(String interfaceId);

    /**
     * 接口下的字段
     *
     * @param interfaceId 接口ID
     * @return 字段
     */
    List<PtInterfaceRequestField> getInterfaceFieldList(String interfaceId);

}
